Searchanise\SmartWoocommerceSearch\Queue A

Total Complexity 70
Dependencies 1
Dependents 6
Total lines 508
Lines of code 221
Logical lines of code 107
Comment lines 132
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
addAction()
A
47 12 32
getAPITypeByAction()
A
58 9 18
getNextQueue()
S
56 5 19
getQueueStatus()
S
59 5 14
isQueueRunning()
S
71 3 5
addActionUpdateProducts()
S
64 3 10
addActionUpdatePages()
S
64 3 10
addActionUpdateCategory()
S
64 3 10
getInstance()
S
71 2 6
isQueueHasError()
S
77 2 3
prepareFullImport()
S
68 2 7
clearActions()
S
65 2 9
insertData()
S
69 2 6
addActionDeleteProducts()
S
70 2 6
addActionDeletePages()
S
70 2 6
addActionDeleteCategories()
S
73 2 5
addActionDeleteFacets()
S
73 2 5
__construct()
S
77 1 4
isUpdateAction()
S
69 1 8
isDeleteAction()
S
68 1 9
isDeleteAllAction()
S
68 1 9
getTotalItems()
S
79 1 3
deleteQueueById()
S
78 1 3
setQueueStatusProcessing()
S
68 1 7
setQueueErrorById()
S
74 1 4
addActionUpdateAttributes()
S
81 1 3